import type { App } from 'vue'
import HButton from './HButton.vue'

// 为组件添加 install 方法，用于按需引入，在app.use挂载
HButton.name = 'HButton'
HButton.install = (app: App) => {
    app.component(HButton.name as string, HButton)
}

export default HButton